source/derelict/bgfx/bgfx.d(67,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_decl_begin` source/derelict/bgfx/bgfx.d(67,22): Error: cast from `extern (C) void function(bgfx_vertex_decl_t*, int) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(68,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_decl_add` source/derelict/bgfx/bgfx.d(68,22): Error: cast from `extern (C) void function(bgfx_vertex_decl_t*, int, ubyte, int, bool, bool) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(69,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_decl_skip` source/derelict/bgfx/bgfx.d(69,22): Error: cast from `extern (C) void function(bgfx_vertex_decl_t*, ubyte) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(70,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_decl_end` source/derelict/bgfx/bgfx.d(70,22): Error: cast from `extern (C) void function(bgfx_vertex_decl_t*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(71,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_pack` source/derelict/bgfx/bgfx.d(71,22): Error: cast from `extern (C) void function(const(float[4]), bool, int, const(bgfx_vertex_decl_t*), void*, uint) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(72,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_unpack` source/derelict/bgfx/bgfx.d(72,22): Error: cast from `extern (C) void function(float[4], int, const(bgfx_vertex_decl_t*), const(void*), uint) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(73,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_vertex_convert` source/derelict/bgfx/bgfx.d(73,22): Error: cast from `extern (C) void function(const(bgfx_vertex_decl_t*), void*, const(bgfx_vertex_decl_t*), const(void*), uint) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(74,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_weld_vertices` source/derelict/bgfx/bgfx.d(74,22): Error: cast from `extern (C) ushort function(ushort*, const(bgfx_vertex_decl_t*), const(void*), ushort, float) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(75,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_image_swizzle_bgra8` source/derelict/bgfx/bgfx.d(75,22): Error: cast from `extern (C) void function(uint, uint, uint, const(void*), void*) nothrow @nogc*` to `void**` not allowed in safe code source/derelict/bgfx/bgfx.d(76,35): Error: `@safe` function `loadSymbols` cannot access `__gshared` data `bgfx_image_rgba8_downsample_2x2` source/derelict/bgfx/bgfx.d(76,22): Error: cast from `extern (C) void function(uint, uint, uint, const(void*), void*) nothrow @nogc*` to `void**` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.